package com.ruoyi.cat.mapper;

import com.ruoyi.cat.domain.AdTicketRoll;

import java.util.List;

/**
 * 票卷相关内容Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-16
 */
public interface AdTicketRollMapper 
{
    /**
     * 查询票卷相关内容
     * 
     * @param id 票卷相关内容主键
     * @return 票卷相关内容
     */
    public AdTicketRoll selectAdTicketRollById(Long id);

    /**
     * 查询票卷相关内容列表
     * 
     * @param adTicketRoll 票卷相关内容
     * @return 票卷相关内容集合
     */
    public List<AdTicketRoll> selectAdTicketRollList(AdTicketRoll adTicketRoll);

    /**
     * 新增票卷相关内容
     * 
     * @param adTicketRoll 票卷相关内容
     * @return 结果
     */
    public int insertAdTicketRoll(AdTicketRoll adTicketRoll);

    /**
     * 修改票卷相关内容
     * 
     * @param adTicketRoll 票卷相关内容
     * @return 结果
     */
    public int updateAdTicketRoll(AdTicketRoll adTicketRoll);

    /**
     * 删除票卷相关内容
     * 
     * @param id 票卷相关内容主键
     * @return 结果
     */
    public int deleteAdTicketRollById(Long id);

    /**
     * 批量删除票卷相关内容
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAdTicketRollByIds(Long[] ids);

    List<AdTicketRoll> selectTicketListLimit(AdTicketRoll adTicketRoll);
}
